package com.luoxue.execsql.rest.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.luoxue.execsql.rest.entity.SqlSnippet;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Set;

@Mapper
public interface SqlSnippetMapper extends BaseMapper<SqlSnippet> {
    int deleteByPrimaryKey(Integer id);

    int insert(SqlSnippet record);

    int insertSelective(SqlSnippet record);

    SqlSnippet selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SqlSnippet record);

    int updateByPrimaryKey(SqlSnippet record);

    List<SqlSnippet> selectByNames(Set<String> nameSet);
}
